//
//  flashTwoModel.m
//  CarsHome
//
//  Created by dapeng on 15/12/2.
//  Copyright © 2015年 dapeng. All rights reserved.
//

#import "flashTwoModel.h"

@implementation flashTwoModel
- (void)dealloc {
    [_img release];
    [_title release];
    [_createtime release];
    [_reviewcount release];
    [_typenames release];
    [_id release];
    [super dealloc];
}
- (instancetype)initWithDataSource:(NSDictionary *)data {
    self = [super init];
    if (self) {
        [self setValuesForKeysWithDictionary:data];
    }
    return self;
}

- (void)setValue:(id)value forUndefinedKey:(NSString *)key {
    if ([key isEqualToString:@"typename"]) {
        self.typenames = [NSString stringWithString:value];
    }
}
- (id)valueForUndefinedKey:(NSString *)key {
    return nil;
}

@end
